Carbon


FlushVol

Header: Files.h Carbon status: Supported

Writes the contents of the volume buffer and update information about the volume.

OSErr FlushVol (
    ConstStr63Param volName, 
    SInt16 vRefNum
);
volName

The name of a mounted volume.

vRefNum

A volume reference number, a working directory reference number, a drive number, or 0 for the default volume.

function result

A result code.

DISCUSSION

On the specified volume, the FlushVol function writes the contents of the associated volume buffer and descriptive information about the volume (if they’ve changed since the last time FlushVol was called). This information is written to the volume.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)